var replace = require("replace");

// use:
let exChangeMap = [
  ['lyggn.gnxzhzx.com', 'lyggy.05oa.com'],
  ['lyggntest.05oa.com', 'lyggy.05oa.com'],
  ['入灌', '入赣'],
  ['来灌', '来赣'],
  ['离灌', '离赣'],
  ['惠泽', '徐福'],
  ['wx85b9c83931e4fddb', 'wx40d9e676d11c7d63']
];
exChangeMap.forEach(item => {
  replace({
    regex: item[0],
    replacement: [item[1]],
    paths: ['./unpackage/dist/build/mp-weixin/'],
    recursive: true,
    silent: true,
});
})

